#include <iostream>
#include <stdio.h>

#include <iostream>
#include <memory>

class A {

    double a;
    virtual void myfunA(){}

};

class B:virtual public A{
    double b;
    virtual void myfunB(){}

};

class C:virtual public A{

    virtual void myfunC(){}

};

class D:public B,public C{

    virtual void myfunD(){};
    // double d;

};


int main(int argv, char**argc)
{

    printf("************  test hello zc!!!   **************\n");
    /* add test code! */
    printf("len A = %ld\n",sizeof(A));
    printf("len B = %ld\n",sizeof(B));
    printf("len C = %ld\n",sizeof(C));
    printf("len D = %ld\n",sizeof(D));

    return 0;
}
